You are here: Define Geology > How to > Define User Calculations > Example: Calculate Net Present Value
GEOVIA MineSched

Example: Calculate Net Present Value

In this example, the pit_activities demonstration data set is used to generate an NPV based on a five percent annualised discounted rate.

  1. Open the pit_activities scenario.
  2. In the Define Geology > Models tab, click the User parameters tab.
  3. In the User parameters data grid, click Insert.
  4. A row is added to the data grid.

  5. In the Name field, type UNIT_MINING_COST.
  6. In the Type field, select Numeric.
  7. In the Weight by field, select Mass.
  8. Click the User calculations tab.
  9. In the User calculations data grid, click Insert.
  10. A row is added to the data grid.

  11. In the Name field, type MINING_COST.
  12. In the Expression field, type and use the selection list to write the following formula: PROD_MASS*UNIT_MINING_COST.
  13. Click Insert.
  14. Another row is added to the data grid.

  15. In the Name field, type DISCOUNTED_MINING_COST.
  16. In the Expression field, type and use the selection list to write the following formula: MINING_COST / POW(1.05, SCHEDULE_DAYS/365).
  17. Click Setup Schedule, and then click the Parameters tab.
  18. In the Parameters data grid, click Insert.
  19. A row is added to the data grid.

  20. In the Locations field, select bench_235.
  21. In the Parameter field, select UNIT_MINING_COST.
  22. In the Value field, type 10.
  23. Click Create Schedule, and then click the Create Schedule button.
  24. The schedule runs.

  25. When the schedule is complete, click Add report and select Custom.
  26. The Customise Report form opens.

  27. In the Series data grid, click Insert.
  28. A row is added to the data grid.

  29. In the Value field, select MASS.
  30. In the Movement field, select Removed.
  31. In the Production field, select bench_265.
  32. Click Insert.
  33. Another row is added to the data grid.

  34. In the Value field, select MINING_COST.
  35. In the Movement field, select Removed.
  36. In the Production field, select bench_265.
  37. Click Insert.
  38. Another row is added to the data grid.

  39. In the Value field, select DISCOUNTED_MINING_COST.
  40. In the Movement field, select Removed.
  41. In the Production field, select bench_265.
  42. Click OK.
  43. The report is displayed in the Dashboard.